package com.xja.wechat.common;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * 接受微信发送的四个参数
 */
public class WechatSignature {
    private String signature;//微信加密签名

    private String timestamp;//时间戳

    private String nonce;// 随机数

    private String echostr;// 随机字符串


    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getEchostr() {
        return echostr;
    }

    public void setEchostr(String echostr) {
        this.echostr = echostr;
    }

    @Override
    public String toString() {
        return "WechatSignature{" +
                "signature='" + signature + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", nonce='" + nonce + '\'' +
                ", echostr='" + echostr + '\'' +
                '}';
    }

}
